import request from '../../util/request'


// 查询报告列表
export function autoSelect(classid,c5,c6,c7,c8) {
  
    return request({
      url: '/services/app/Equparams/GetModel?'+"c5="+c5+"&"+"c6="+c6+"&"+"c7="+c7+"&"+"c8="+c8+"&classId="+classid,
      method: 'get',
     
    })
  }
  
  // 查看设备详情
  // export function getReport(id) {
  //   return request({
  //     url: '/services/app/Equipment/GetEquipment?id=' + id,
  //     method: 'get'
  //   })
  // }


  //查看设备报告详情
  export function getReport(id,c5,c6,c7,c8) {
    return request({
      url: '/services/app/Equipment/GetEquipment?id='+id+'&'+"c5="+c5+"&"+"c6="+c6+"&"+"c7="+c7+"&"+"c8="+c8,
      method: 'get'
    })
  }

  //查看选型菜单
  export function getMenu(EquClass,skipCount,maxResultCount) {
    return request({
      url: '/services/app/Category/GetList?layout='+EquClass+'&skipCount='+skipCount+'&maxResultCount='+maxResultCount,
      method: 'get'
    })
  }
